<?
if( session_id() == ''  ) session_start();

require_once 'config/config.php';
require_once 'class/dbclass.php';
require_once 'class/DataBaseMysql.class.php';

$dbcn = new MySQLCN();
$querySelect = "select id,Name,Email FROM users WHERE id = '" . $_SESSION['SESS_MEMBER_ID'] . "'";
$result = $dbcn->select($querySelect);
$s_name = $result[0]['Name'];

if( false == isset( $_SERVER['connection'] ) && false == valObj( $_SERVER['connection'], 'DataBaseMysql' ) ) {
	$_SERVER['connection'] = $objDbConnection = new DataBaseMysql();
}
?>